<htmL>
<head>
 

</head>
<body >
<div id="content">
</div>
<img  alt="img" src="https://gitee.com/zxltwins/pic_save/raw/master/img/file.jpg" />

</body>
<script>
    var div = document.getElementById("content");
    var url = "http://192.168.40.134:5000/api/test/text";
    var client = new XMLHttpRequest();
    client.open("POST", url);
    client.onprogress = function (progressEvent) {
		div.innerText =progressEvent.target.responseText;
    
    }
    client.onloadend = function (progressEvent) {
   
      //  div.append("END");
    }
    client.send();
</script>
</html>